function checkParams() {
    if($.trim($("#title").val()).length === 0) {
        $("#errorMsg").html("请填写标题");
        return;
    }

    if($.trim($("#subTitle").val()).length === 0) {
        $("#errorMsg").html("请填写副标题");
        return;
    }

    if($.trim($("#shortDesc").val()).length === 0) {
        $("#errorMsg").html("请填写简介");
        return;
    }

    if ($.trim($("#img").val()).length === 0) {
        $("#errorMsg").html("请上传图片");
        return;
    }

    let content = $.trim($("#content").val());

    if (content.length === 0) {
        $("#errorMsg").html("请填写新闻内容");
        return;
    }

    loadEditCompleteDate();
}
